#ifndef LOGHELPER_H
#define LOGHELPER_H

#include <QObject>
#include <QCoreApplication>
#include <QMutex>
#include <QString>
#include <QDir>
#include <QFile>
#include <QTextStream>
#include <QDateTime>
#include <QTextCodec>

class loghelper : public QObject
{
    Q_OBJECT
public:
    static loghelper* getInstance();
    loghelper(QObject *parent = NULL);
    ~loghelper();

    void WriteLog(QString type, QString content,QString equId);

private:
    static loghelper* Instance ;
};

#endif // LOGHELPER_H
